var head = document.head || document.getElementsByTagName('head')[0];
head.innerHTML = '<head>\n' +
'    <meta charset=\'utf-8\'/>\n' +
'    <meta http-equiv=\'X-UA-Compatible\' content=\'IE=edge\'/>\n' +
'    <title>HTML</title>\n' +
'    <meta name=\'keywords\' content=\'\'/>\n' +
'    <meta name=\'description\' content=\'\'/>\n' +
'    <meta name=\'full-screen\' content=\'yes\'/>\n' +
'    <meta name=\'x5-fullscreen\' content=\'true\'/>\n' +
'    <!--禁止苹果手机将数字转换为手机号码-->\n' +
'    <meta name=\'format-detection\' content=\'telephone=no\'/>\n' +
'    <!--禁止显示苹果手机默认样式-->\n' +
'    <meta name=\'apple-mobile-web-app-capable\' content=\'yes\'/>\n' +
'    <!--禁止用户在手机上屏幕页面缩放-->\n' +
'    <meta content=\'width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0;\' name=\'viewport\'/>\n' +
'</head>\n' +
'<style type=\'text/css\'>\n' +
'    img{width:100% !important; max-width:100% !important; height:auto !important;}\n' +
'    body{padding:0px; margin:3%;}\n' +
'    p, img{padding:0;margin:0;border:none;vertical-align: top;}\n' +
'</style>';
document.head = head;
